<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app"></div>
    <script src="../lib/vue.global.js"></script>
    <script>
               const app=Vue.createApp({
            template:`<h2>{{title}}:{{message}}
                <ul>
                <li v-for="item in list">{{item}}</li>
               </ul>
                </h2>`,
            data:function(){
                return{
                    title:"hello world",
                    message:"你好啊,vue3",
                    list:["数学","英语","语文","物理","化学"]
                }
            }
        })
        app.mount("#app")
    </script>
</body>
</html>